package com.sniff.atp.modules.test.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sniff.atp.modules.test.model.DemandReport;
import com.sniff.atp.modules.test.model.OpsDeleteSku;
import com.sniff.atp.modules.test.model.PublishPlan;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author macro
 * @since 2023-10-12
 */
public interface PublishPlanService extends IService<PublishPlan> {
    /**
     * 新增发布计划
     */
    boolean create(PublishPlan publishPlan);

    /**
     * 修改发布计划
     */
    boolean update(Long id, PublishPlan publishPlan);

    /**
     * 分页查询发布计划
     */
    Page<PublishPlan> list(PublishPlan publishPlan, Integer pageSize, Integer pageNum);

    /**
     * 查询当日需要发布的列表，业务
     */
    List<PublishPlan> qryBusinessPublishPlan(PublishPlan publishPlan);

    /**
     * 查询当日需要发布的列表,开发
     */
    List<PublishPlan> qrydevelopPublishPlan(PublishPlan publishPlan);

    /**
     * 查询当日需要发布的列表,测试
     */
    List<DemandReport> qryTestPublishPlan(PublishPlan publishPlan);

    /**
     * 查询当日提测的内容
     */
    List<DemandReport> qryTodaySUbmitTestInfo(PublishPlan publishPlan);
}
